package com.bcbim.smart_water_interface.inspection.dao;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class InspectionPositionDAO implements Serializable {

    private String id;

    private String inspectionId;

    private Double latitude;

    private Double longitude;

    private String address;

    @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME, pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime checkTime;
}
